<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
request.setAttribute("path",path);
%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>Eliminar a un cliente</title>
		<jsp:include page="/includes.jsp"></jsp:include>
	</head>
	<body>
		<jsp:include page="/menu-bar.jsp"></jsp:include>
		<div class="container">
			<form action="${path}/clientes/eliminar.do">
				Categoria :
				<select name="cliente">
					<c:forEach var="row" items="${clientes}">
						<option value="${row.id}"> ${row.nombre}, ${row.apellido} </option>
					</c:forEach>
				</select>
				<input type="submit" value="Eliminar Cliente">
			</form>
		</div>
  </body>
</html>
